<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        @keyframes bear {
            0% {
                background-position: 0px 0px;
            }

            100% {
                background-position: -1600px 0px;
            }
        }

        @keyframes more {
            0% {
                left: 0px;
            }

            100% {
                left: 50%;

            }
        }

        @keyframes move1 {
            0% {
                background-position: 0px 0px;
            }

            100% {
                background-position: -1600px 0px;
            }
        }

        body {
            position: relative;
            background-color: gray;
            /* background-image: url(imges/bg1.png); */
            /* background-repeat: no-repeat; */
            background-position: 0px 300px;
        }

        .box {
            width: 100%;
            height: 400px;
            position: absolute;
            background: url(imges/bg1.png) no-repeat;
            top: 300px;
            animation: move1 16s linear infinite;
        }

        .text {
            position: absolute;
            top: 520px;
            left: 0px;
            background: url(imges/bear.png) no-repeat;
            width: 200px;
            height: 100px;
            animation: bear 1s steps(8) infinite, more 16s forwards;
        }

        a {
            position: fixed;
            right: 50%;
            bottom: 5%;
            text-decoration: none;
            color: #000;
        }

        a:hover {
            color: red;
        }
    </style>
</head>

<body>
    <div class="box">
    </div>
    <div class="text"></div>
    <div>
        <a href="首页.html">返回首页</a>

    </div>
</body>

</html>